package com.anjubao.parking.municipal.roadside.mapper;

import com.anjubao.parking.municipal.parkinglot.dto.ParkingLotDto;
import com.anjubao.parking.municipal.roadside.model.ParkingLot;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author anjubao
 */
@Mapper
public interface RoadsideParkingLotMapper extends BaseMapper<ParkingLot> {
    /**
     * 更新路边停车场数据
     * @param parkingLotDtoList
     * @return
     */
    void updateParkingLots(@Param("parkingLotDtoList") List<ParkingLotDto> parkingLotDtoList);
}
